/* $Id$ */
package org.crazydays.gameplan.map;


import org.junit.*;

import static org.easymock.EasyMock.*;
import static org.easymock.classextension.EasyMock.*;

import org.crazydays.gameplan.Controller;

/**
 * OpenCreateMapDialogUnitTest
 */
public class OpenCreateMapDialogUnitTest
{
    /**
     * Test actionPerformed(ActionEvent).
     */
    @Test
    public void testActionPerformed()
    {
        // mocks
        Controller controller = createMock(Controller.class);

        // expect
        controller.openCreateMapDialog();

        // replay
        replay(controller);

        // setup
        CreateMapDialog action = new CreateMapDialog(controller);

        // test
        action.actionPerformed(null);

        // verify
        verify(controller);
    }
}
